import React from "react";

// 使用 React.lazy 和 import() 进行懒加载
const Home = React.lazy(() => import("@/pages/Home/index.jsx"));
const Page = React.lazy(() => import("@/pages/Page/index.jsx"));

export default [
  {
    path: "/",
    component: <Home />
  },
  {
    path: "/page",
    component: <Page />
  }
];
